package com.peas.platform.module.icims.base.auth.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("组织架构")
public class OrganizationVo extends BaseVo {

    //部门、岗位
    @ApiModelProperty(value = "组织架构类型")
    @Size(max = 20, message = "组织架构类型不能超过20个字符")
    private String organizationType;

    @ApiModelProperty(value = "组织架构编码")
    @Size(max = 50, message = "组织架构编码不能超过50个字符")
    private String organizationCode;

    @ApiModelProperty(value = "组织架构名称")
    @Size(max = 200, message = "组织架构名称不能超过200个字符")
    private String organizationName;

    @ApiModelProperty(value = "状态")
    @Size(max = 20, message = "状态不能超过20个字符")
    private String state;

    //（组织架构表）外键
    @ApiModelProperty(value = "上级组织架构ID")
    private Long parentId;

    @ApiModelProperty(value = "备注")
    private String remark;

}
